<?php

use yii\helpers\Html;
use kartik\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\modules\sysConfig\models\search\SmsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '短信列表';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="sms-index">

    <?php  echo $this->render('_search', ['model' => $searchModel]); ?>

    <p>
        <?php // Html::a('Create Sms', ['create'], ['class' => 'btn btn-success']) ?>
    </p>

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'responsive'=>true,
        'hover'=>true,
        'pjax'=>true,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],
            'smsID',
            'smsType',
            'phones',
            'body',
            'createTime',
            // 'createUser',
            // 'responseCode',
            // 'smsCode',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>

</div>
